<!DOCTYPE html>
<html>
  <head>
    <hta:application navigable="yes" icon="favicon.ico" />
  </head>

  <body>
    Loading......
    <script>
      var url = window.location.href,
        fileName = url.split("\/").pop(),
        baseURL = url
          .replace(fileName, "")
          .replace("file:///", "")
          .replace(/\//g, "\\");
      window.location.href =
        "html/main.html?isHTA=1&baseURL=" + encodeURIComponent(baseURL);
    </script>
  </body>
</html>
